package com.erb.entity;

import java.io.Serializable;

/**
 * 积分商品
 */
public class IntegralGoods implements Serializable {

	private static final long serialVersionUID = 1761712934654405041L;

	private Integer id;
	private String name; //名称
	private Integer price; //价格
	private Integer stock;//库存
	private Integer money;//红包金额
	private String img;//图片
	private String detail;//详情
	private Integer limitExchange;//每天限兑
	private Integer type;//1:实物 2:虚拟物品
	private Boolean state;// 商品状态（true：上架。false：下架）

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Integer getLimitExchange() {
		return limitExchange;
	}

	public void setLimitExchange(Integer limitExchange) {
		this.limitExchange = limitExchange;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Boolean getState() {
		return state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "IntegralGoods{" +
				"id=" + id +
				", name='" + name + '\'' +
				", price=" + price +
				", stock=" + stock +
				", money=" + money +
				", img='" + img + '\'' +
				", detail='" + detail + '\'' +
				", limitExchange=" + limitExchange +
				", type=" + type +
				", state=" + state +
				'}';
	}
}
